package cc.beup.common.query;

import lombok.Data;

/**
 * @Author: Byron Bai
 * @Date: 2021/4/18 20:06
 * @Description:
 */
@Data
public class PageCommonQuery {

    private Integer pageIndex;
    private Integer pageSize;

    public Integer getPageIndex() {
        return pageIndex == null ? 1 : pageIndex;
    }

    public Integer getPageSize() {
        return pageSize == null ? 10 : pageSize;
    }
}
